package com.singing.util;

import com.singing.model.Admin;

public class AdminContext {
    private static Admin admin = null;

    static public Admin getAdmin() {
        return admin;
    }

    static public void setAdmin(Admin admin) {
        AdminContext.admin = admin;
    }

    static public boolean isLogin() {
        return admin != null;
    }
}
